﻿<UserControl x:Class="SomethingSpacial.Views.Default.BlogRoll"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:vm="clr-namespace:SomethingSpacial.ViewModel" >
    <UserControl.DataContext>
        <vm:BlogRollViewModel />
    </UserControl.DataContext>
    <Grid x:Name="LayoutRoot" >
        <Grid.RowDefinitions>
            <RowDefinition Height="20" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock x:Name="DisplayTitleTarget" Grid.Row="0" HorizontalAlignment="Left" FontFamily="Verdana" FontSize="14" Foreground="#FF00C7FF" />
        <Rectangle Opacity="1" Fill="White" RadiusX="10" RadiusY="10" Grid.Row="1" />
        <ItemsControl x:Name="BlogRollList" Visibility="Visible" Margin="10,10,10,10" Grid.Row="1" Width="300" HorizontalAlignment="Left" >
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <StackPanel Margin="0 0 0 5">
                        <TextBlock x:Name="FeedTitle" FontFamily="Verdana" FontSize="13" Foreground="Black" MouseEnter="FeedTitle_MouseEnter" MouseLeave="FeedTitle_MouseLeave" MouseLeftButtonUp="FeedTitle_MouseLeftButtonUp"
                                   Text="{Binding Title.Text}" TextAlignment="Left" TextWrapping="Wrap" 
                                   Tag="{Binding Summary.Text}" />
                    </StackPanel>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
    </Grid>
</UserControl>
